#!/bin/bash
# ffmpeg 安装路径
export ipath=/e/qqtv/shell/工具/ffmpeg/win/ffmpeg
# 设置安装包执行路径
export PATH=$PATH:$ipath/bin
# 设置动态库路径
export PKG_CONFIG_PATH=$ipath/lib/pkgconfig
# 设置编译主目录路径
export homeMake=$(pwd)

cd $homeMake/build/

# 1 ERROR: libfdk_aac not found
tarp=$homeMake/tar/fdk-aac-2.0.3.tar.gz
rm -rf fdk-aac-2.0.3
#  解压  libfdk_aac
tar -xvf $tarp
# 进入   libfdk_aac  目录
cd fdk-aac-2.0.3
# 编译 libfdk_aac 配置
./configure --prefix=/usr  --enable-shared --disable-static
make -j8
make install
cd ..
rm -rf fdk-aac-2.0.3






